/**
 *
 *
 */
package com.fw.timesheet.service;

import com.fw.timesheet.dao.TimesheetActivityDAO;
import com.fw.timesheet.model.TimesheetActivity;



/**
 * @author sigit <br>
 * @version 1.0 <br>
 * Application : timesheet <br>
 * Copyright (c) fastwire-group 2012 <br>
 * <br>
 */
public class TimesheetActivityService extends BaseService {
	private TimesheetActivityDAO timesheetActivityDAO;

	public TimesheetActivityDAO getTimesheetActivityDAO() {
		return timesheetActivityDAO;
	}

	public void setTimesheetActivityDAO(TimesheetActivityDAO timesheetActivityDAO) {
		this.timesheetActivityDAO = timesheetActivityDAO;
		setDaoObject(timesheetActivityDAO);
	}
	
	
	
	public void delete(TimesheetActivity persistentInstance) {
		getTimesheetActivityDAO().delete(persistentInstance);
	}
	
	public TimesheetActivity findById(Long id) {
		return getTimesheetActivityDAO().findById(id);
	}
}
